package com.xiaotao.learn.reflect;

import java.lang.reflect.Field;

public class TestFuckInteger {

    public static void main(String[] args) {
        Integer a = 1;
        System.out.println(a + 1);
    }

    static {
        Integer a = 1;
        Field v = null;
        try {
            v = a.getClass().getDeclaredField("value");
            v.setAccessible(true);
            v.set(a, 114513);
        } catch (NoSuchFieldException | IllegalAccessException e) {
            e.printStackTrace();
        }
    }
}
